from lddns.models import Zone
from lddns.dddatafile import APTRRecord

h = 'myhost.test.d.corp.it'
zone = Zone.objects.for_hostname(h)
print zone
store = zone.store()
print store
store.update(fqdn=h, rtype=APTRRecord, ip='1.2.3.4', ttl=300)
store.save()
